package org.csmzxy.class2333.abstractdemo;

class TechDepartment extends Department{
    public TechDepartment(String name,int numOfMembers){
        super.name = name;
        super.numOfMembers = numOfMembers;
    }
    @Override
    public void work(){
        System.out.println(super.name +"负责技术研发、软件开发和系统维护，" +"部门有" +super.numOfMembers +"人。");
    }
}
